package com.hbnu.net;

import java.net.DatagramSocket;
import java.net.SocketException;

public class UDPReceiveTest {
    public static void main(String[] args) {
        try {
            DatagramSocket datagramSocket = new DatagramSocket(5555);

            new Thread(new UDPReceiveThread(datagramSocket)).start();
        } catch (SocketException e) {
            throw new RuntimeException(e);
        }
    }
}
